package models.msgs;

public class OptionsOfBetting {
	private int lastBet;
	private boolean[] options;
	
	public OptionsOfBetting (boolean bet, boolean check, boolean raise, 
			boolean call, boolean fold, boolean allin, int _lastBet) {
		options = new boolean[6];
		
		options[0] = bet;
		options[1] = check;
		options[2] = raise;
		options[3] = call;
		options[4] = fold;
		options[5] = allin;
		lastBet = _lastBet;
	}
	public int getLastBet() {
		return lastBet;
	}
	public boolean[] getBettingOptions() {
		return options;
	}
	public void setBet(boolean bet) {
		options[0] = bet;
	}
	public void setCheck(boolean check) {
		options[1] = check;
	}
	public void setRaise(boolean raise) {
		options[2] = raise;
	}
	public void setCall(boolean call) {
		options[3] = call;
	}
	public void setFold(boolean fold) {
		options[4] = fold;
	}
	public void setAllIn(boolean allin) {
		options[5] = allin;
	}
	public void setLastBet(int lastBet) {
		this.lastBet = lastBet;
	}
}
